From 84c061b86188b88dea51ac59c416c2014107130c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 29 Dec 2011 10:02:54 +0100 Subject: [PATCH] reftests: Add test for empty grid with spacing This used to crash. https://bugzilla.gnome.org/show_bug.cgi?id=660139 --- tests/reftests/Makefile.am | 2 ++ tests/reftests/grid-empty-with-spacing.ref.ui | 16 +++++++++++ tests/reftests/grid-empty-with-spacing.ui | 28 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 tests/reftests/grid-empty-with-spacing.ref.ui create mode 100644 tests/reftests/grid-empty-with-spacing.ui diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 2e0624f097..d795c6d656 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -107,6 +107,8 @@ EXTRA_DIST += \ entry-progress-coloring.ref.ui \ entry-progress-coloring.ui \ green-20x20.png \ + grid-empty-with-spacing.ref.ui \ + grid-empty-with-spacing.ui \ grid-expand.css \ grid-expand.ref.ui \ grid-expand.ui \ diff --git a/tests/reftests/grid-empty-with-spacing.ref.ui b/tests/reftests/grid-empty-with-spacing.ref.ui new file mode 100644 index 0000000000..dccd1b8bfa --- /dev/null +++ b/tests/reftests/grid-empty-with-spacing.ref.ui @@ -0,0 +1,16 @@ + + + + + False + popup + + + True + False + 5 + 5 + + + + diff --git a/tests/reftests/grid-empty-with-spacing.ui b/tests/reftests/grid-empty-with-spacing.ui new file mode 100644 index 0000000000..3598fc71a5 --- /dev/null +++ b/tests/reftests/grid-empty-with-spacing.ui @@ -0,0 +1,28 @@ + + + + + False + popup + + + True + False + 5 + 5 + + + False + invisible + + + 0 + 0 + 1 + 1 + + + + + + -- 2.30.2